function listBookCommentOnRowClick(target) {
    var id = $(target).attr("bookcommentid");

    window.location.href = "/renderbookcomment/" + URLencode(id);
}

$(document).ready(function () {

    $("#bookCommentTable").DataTable({
        "paging": true,         //是否分页，如果是false，则全部显示，否则默认是10个数据一页
        "lengthChange": false,  //是否可以控制每页多少个数据，这个会影响Show x entries的显示
        "searching": true,     //是否要显示search栏
        "ordering": true,       //是否出排序的小控件
        "info": true,          //表格的左下方是否需要显示Showing # to # of # entries
        "autoWidth": true,      //
        "language": {
            "lengthMenu": "每页显示记录 _MENU_",
            "zeroRecords": "没有任何内容",
            "info": "当前第_PAGE_页，共_PAGES_页",
            "infoEmpty": "没有记录",
            "infoFiltered": "(从最多_MAX_记录中过滤)",
            "search": "搜索：",
            "paginate": {
                "first": "首頁",
                "last": "末頁",
                "next": "下一頁",
                "previous": "前一頁"
            },
        },
    });
});